### Eclipse Workspace Patch 1.0 #P ofbiz-trunk Index: specialpurpose/ecommerce/webapp/ecommerce/order/OnePageCheckoutProcess.ftl =================================================================== --- specialpurpose/ecommerce/webapp/ecommerce/order/OnePageCheckoutProcess.ftl (revision 1171199) +++ specialpurpose/ecommerce/webapp/ecommerce/order/OnePageCheckoutProcess.ftl (working copy) @@ -25,171 +25,7 @@ <#-- ========================================================================================================================== -->
-

${uiLabelMap.EcommerceStep} 1: ${uiLabelMap.PageTitleShoppingCart}

- - -<#-- ============================================================= --> -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <#list shoppingCart.items() as cartLine> - - - - - - <#if !cartLine.getIsPromo()> - - <#else> - - - - <#if !cartLine.getIsPromo()> - - - - - -
${uiLabelMap.OrderItem}${uiLabelMap.CommonDescription}${uiLabelMap.EcommerceUnitPrice}${uiLabelMap.OrderQuantity}${uiLabelMap.EcommerceAdjustments}${uiLabelMap.EcommerceItemTotal}${uiLabelMap.FormFieldTitle_removeButton}
${uiLabelMap.CommonSubtotal}<@ofbizCurrency amount=shoppingCart.getSubTotal() isoCode=shoppingCart.getCurrency() />
${uiLabelMap.ProductDiscount} - <#assign orderAdjustmentsTotal = 0 /> - <#list shoppingCart.getAdjustments() as cartAdjustment> - <#assign orderAdjustmentsTotal = orderAdjustmentsTotal + Static["org.ofbiz.order.order.OrderReadHelper"].calcOrderAdjustment(cartAdjustment, shoppingCart.getSubTotal()) /> - - <@ofbizCurrency amount=orderAdjustmentsTotal isoCode=shoppingCart.getCurrency() /> -
${uiLabelMap.OrderShippingAndHandling}<@ofbizCurrency amount=shoppingCart.getTotalShipping() isoCode=shoppingCart.getCurrency() />
${uiLabelMap.OrderSalesTax}<@ofbizCurrency amount=shoppingCart.getTotalSalesTax() isoCode=shoppingCart.getCurrency() />
${uiLabelMap.OrderGrandTotal}<@ofbizCurrency amount=shoppingCart.getDisplayGrandTotal() isoCode=shoppingCart.getCurrency() />
- <#if cartLine.getProductId()?exists> - <#if cartLine.getParentProductId()?exists> - <#assign parentProductId = cartLine.getParentProductId() /> - <#else> - <#assign parentProductId = cartLine.getProductId() /> - - <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)?if_exists /> - <#if !smallImageUrl?string?has_content><#assign smallImageUrl = "" /> - <#if smallImageUrl?string?has_content> - Product Image - - - ${cartLine.getName()?if_exists}<@ofbizCurrency amount=cartLine.getDisplayPrice() isoCode=shoppingCart.getCurrency() /> - <#if cartLine.getIsPromo()> - ${cartLine.getQuantity()?string.number} - <#else> - - - - - - <@ofbizCurrency amount=cartLine.getOtherAdjustments() isoCode=shoppingCart.getCurrency() /><@ofbizCurrency amount=cartLine.getOtherAdjustments() isoCode=shoppingCart.getCurrency() /><@ofbizCurrency amount=cartLine.getDisplayItemSubTotal() isoCode=shoppingCart.getCurrency() />Remove Item Image
-
-
-
- - -
-
-
- ${uiLabelMap.EcommerceContinueToStep} 2 - -
-
-
+ ${screens.render("component://ecommerce/widget/CartScreens.xml#UpdateCart")}
<#-- ========================================================================================================================== -->